package cn.iocoder.yudao.module.design.enums.design;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Arrays;


@Getter
@AllArgsConstructor
public enum FlowCdEnum {

    /**
     * 待开始
     */
    FLOW_CD_0(0,"设计流程"),

    /**
     * 进行中
     */
    FLOW_CD_1(1,"采购流程"),

    /**
     * 已完成
     */
    FLOW_CD_2(2,"施工流程");

    /**
     * 状态
     */
    private final Integer code;

    /**
     * 描述
     */
    private final String name;

    public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(FlowCdEnum::getCode).toArray();


}
